Should I use SDL_Surface or SDL_Window? [on hold]

Posted by The Light Spark on Game Development See other posts from Game Development or by The Light Spark
Published on 2014-08-20T13:15:46Z Indexed on 2014/08/20 16:37 UTC
Read the original article Hit count: 104

Filed under:
|

I am making an OpenGL game basically. I have just started out on the territory. I have seen tutorials which use an SDL_Surface for rendering to while other tutorials use SDL_Window and obtain an openGL context from that and render to that, with no mention of surfaces. I understand what the differences between the two are, but is there any advantage in using one over the other? Can I use the SDL_Window technique to create high quality games or does the SDL_Surface approach get me better results?

© Game Development or respective owner

Related posts about opengl

Related posts about sdl